/*******************************************************************************
 * This file is part of Crunch Network.
 *
 * Crunch Network is free software: you can redistribute it and/or modify it under the
 * terms of the GNU Lesser General Public License as published by the Free Software
 * Foundation, either version 3 of the License, or (at your option) any later version.
 *
 * Crunch Network is distributed in the hope that it will be useful, but WITHOUT ANY
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
 * PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License along with
 * Crunch Network.  If not, see <http://www.gnu.org/licenses/>.
 ******************************************************************************/

package com.crunch.network;

/**
 * A {@code NetworkException} is thrown when a network-related problem occurs.
 */
public class NetworkException extends Exception {
	/**
	 * Constructs a {@code NetworkException}.
	 */
	public NetworkException() {
		super();
	}

	/**
	 * Constructs a {@code NetworkException with a message}.
	 *
	 * @param   message the message associated with the exception.
	 */
	public NetworkException(String message) {
		super(message);
	}

	/**
	 * Constructs a {@code NetworkException} with a message and cause.
	 *
	 * @param   message the message associated with the exception.
	 * @param   cause the cause associated with the exception.
	 */
	public NetworkException(String message, Throwable cause) {
		super(message, cause);
	}

	/**
	 * Constructs a {@code NetworkException} with a cause.
	 *
	 * @param   cause the cause associated with the exception.
	 */
	public NetworkException(Throwable cause) {
		super(cause);
	}
}
